package com.ruoyi.base.utils.rsa;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 公钥和私钥对
 */
@Data
@NoArgsConstructor
public class RsaPair {
    /**
     * 公钥
     */
    private String publicKey;
    /**
     * 私钥
     */
    private String secretKey;

    public RsaPair(String publicKey, String secretKey) {
        this.publicKey = publicKey;
        this.secretKey = secretKey;
    }
}
